package com.yc.study.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yc.study.entity.Answer;
import com.yc.study.vo.AnswerVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * Mapper 接口
 *
 * @author 王妍
 * @since 2022-02-20
 */
@Mapper
public interface AnswerMapper extends BaseMapper<Answer> {
  /**
   * 通过条件查询vo信息
   *
   * @param answerVoPage 分页条件
   * @param answerVo 其他条件
   * @return 分页信息
   */
  Page<AnswerVo> loadPageVo(Page<AnswerVo> answerVoPage, AnswerVo answerVo);
}
